{%extends "base.html"%}
{%block body%}
<h2>Payment for <br/>"{{club.name|escape}} {{club.website|escape}} {{club.location|escape}}"</h2>

{% ifnotequal club.website  '' %}
<p>Event Website: <a href="{{club.website|escape}}">{{club.website|escape}}</a></p>
{% endifnotequal %}

<!-- -->
{% ifequal club.payment_company  'Paypal' %}
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="{{club.payment_company_id}}">
<input type="hidden" name="no_shipping" value="1">

<table>
<tr> <td align="left"><b>Pay via Pay Pal
for the event:</b><br/>
<br/>
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but23.gif" 
      name="submit" alt="Make payments with payPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
<input type="hidden" name="item_name" value="{{club.name|escape}} {{club.location|escape}}">{{club.name|escape}} {{club.location|escape}}
<input type="hidden" name="amount" value="{{club.one_year_individual_member_price}}">
</tr>
</table>

<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="bn" value="IC_Sample">
</form>
{% endifequal %}

{% ifequal club.payment_company  'Google Checkout' %}
<b>Select the appropriate link below to continue to payment page:</b><br/>
<a href="{%url views.gchecky entry.key.id%}">${{club.one_year_individual_member_price|floatformat:2}} - One year individual member price</a><br/>

{{club.advertisement|escape}}

<!-- <br/>contact: {{club.email}} tracking: club-{{entry.clubid|escape}}-{{entry.key.id|escape}} -->
{% endifequal %}


{%endblock%}
